
<!DOCTYPE html>
<html>
    <head>
        <link rel="stylesheet" href="css.css" type="text/css"/>
        <script src="js/libs/jquery-1.9.0/jquery.min.js" type="text/javascript"></script>   
        <title>NetBeans test by Jairo</title>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
        
    </head>
    <body>
        <span class ='backgroundImage'></span>
        <div class ='tabla'></div>
        <div class ='generalTop'>
            <div id='div1' class='classOne'>TODO write content</div>
            <div id='div2' class='classTwo'>TODO write content2</div>
        </div>
        <div>
        </div>
        <script type="text/javascript">
            var color = 1;
                function One(target) {
                    if(color == 1){
                        $(target).css("color", "blue");
                        color = 0;
                    }else{
                        $(target).css("color", "red");
                        color = 1;
                    }
                }
                $(document).ready($("#div1").click(function() {One("#div1");}));
        </script>
    </body>
</html>
